package com.ruoyi.quality.domain;

import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 物料管理对象 quality_material
 *
 * @author wky
 * @date 2024-06-05
 */
@Schema(description = "物料管理对象")
public class QualityMaterial extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /**  */
    @Schema(title = "")
    private Long materialId;

    /** 物料名称 */
    @Schema(title = "物料名称")
    @Excel(name = "物料名称")
    private String materialName;

    /** 物料描述 */
    @Schema(title = "物料描述")
    @Excel(name = "物料描述")
    private String materialDescription;

    /** 图号 */
    @Schema(title = "图号")
    @Excel(name = "图号")
    private String imageNumber;

    /** 物料属性 */
    @Schema(title = "物料属性")
    @Excel(name = "物料属性")
    private String materialProperty;

    /** 采购模式 */
    @Schema(title = "采购模式")
    @Excel(name = "采购模式")
    private Long purchasingMode;

    /** 客户提供编号 */
    @Schema(title = "客户提供编号")
    @Excel(name = "客户提供编号")
    private Long customId;

    /** 供应方提供编号 */
    @Schema(title = "供应方提供编号")
    @Excel(name = "供应方提供编号")
    private Long supplierId;

    /** 默认库存 */
    @Schema(title = "默认库存")
    @Excel(name = "默认库存")
    private String materiaQuantity;

    /** 图片路径 */
    @Schema(title = "图片路径")
    private String imageUrl;

    /** 采购人员名称 */
    @Schema(title = "采购人员名称")
    @Excel(name = "采购人员名称")
    private String purchasingUser;

    /** 参考价格 */
    @Schema(title = "参考价格")
    @Excel(name = "参考价格")
    private BigDecimal refferencePrice;

    /** 推荐价格 */
    @Schema(title = "推荐价格")
    @Excel(name = "推荐价格")
    private BigDecimal recommendPrice;
    public void setMaterialId(Long materialId)
    {
        this.materialId = materialId;
    }

    public Long getMaterialId()
    {
        return materialId;
    }


    public void setMaterialName(String materialName)
    {
        this.materialName = materialName;
    }

    public String getMaterialName()
    {
        return materialName;
    }


    public void setMaterialDescription(String materialDescription)
    {
        this.materialDescription = materialDescription;
    }

    public String getMaterialDescription()
    {
        return materialDescription;
    }


    public void setImageNumber(String imageNumber)
    {
        this.imageNumber = imageNumber;
    }

    public String getImageNumber()
    {
        return imageNumber;
    }


    public void setMaterialProperty(String materialProperty)
    {
        this.materialProperty = materialProperty;
    }

    public String getMaterialProperty()
    {
        return materialProperty;
    }


    public void setPurchasingMode(Long purchasingMode)
    {
        this.purchasingMode = purchasingMode;
    }

    public Long getPurchasingMode()
    {
        return purchasingMode;
    }


    public void setCustomId(Long customId)
    {
        this.customId = customId;
    }

    public Long getCustomId()
    {
        return customId;
    }


    public void setSupplierId(Long supplierId)
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId()
    {
        return supplierId;
    }


    public void setMateriaQuantity(String materiaQuantity)
    {
        this.materiaQuantity = materiaQuantity;
    }

    public String getMateriaQuantity()
    {
        return materiaQuantity;
    }


    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }


    public void setPurchasingUser(String purchasingUser)
    {
        this.purchasingUser = purchasingUser;
    }

    public String getPurchasingUser()
    {
        return purchasingUser;
    }


    public void setRefferencePrice(BigDecimal refferencePrice)
    {
        this.refferencePrice = refferencePrice;
    }

    public BigDecimal getRefferencePrice()
    {
        return refferencePrice;
    }


    public void setRecommendPrice(BigDecimal recommendPrice)
    {
        this.recommendPrice = recommendPrice;
    }

    public BigDecimal getRecommendPrice()
    {
        return recommendPrice;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("materialId", getMaterialId())
            .append("materialName", getMaterialName())
            .append("materialDescription", getMaterialDescription())
            .append("imageNumber", getImageNumber())
            .append("materialProperty", getMaterialProperty())
            .append("purchasingMode", getPurchasingMode())
            .append("customId", getCustomId())
            .append("supplierId", getSupplierId())
            .append("materiaQuantity", getMateriaQuantity())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("imageUrl", getImageUrl())
            .append("purchasingUser", getPurchasingUser())
            .append("refferencePrice", getRefferencePrice())
            .append("recommendPrice", getRecommendPrice())
            .toString();
    }
}
